isAllowed = async (ctx, next) => {
  const resource = await ctx.request.path;
  const method = await ctx.request.method;
  console.log(resource, method);
  await next();
};

module.exports = { isAllowed };
